<?php 
/**
 * Description of Register page
 *
 * @author dung3625@gmail.com
 * @date 01/03/2014
 */
?>
    
<html lang="vi">
    <?php 
    $this->layout = false;//clear layout
    ?>
    <head>
        <meta charset="utf-8" />
        <title>Register Page - Order System</title>
        <meta name="description" content="User register page" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <!-- basic styles -->
        <link href="<?php echo Yii::app()->baseUrl."/assets/css/bootstrap.min.css" ?>" rel="stylesheet" />		
        <link href="<?php echo Yii::app()->baseUrl."/assets/css/font-awesome.min.css" ?>" rel="stylesheet" />
        <!--[if IE 7]>
        <link href="<?php echo Yii::app()->baseUrl."/assets/css/font-awesome-ie7.min.css" ?>" rel="stylesheet" />
        <![endif]-->
        <!-- page specific plugin styles -->
        <!-- fonts -->
        <link href="<?php echo Yii::app()->baseUrl."/assets/css/ace-fonts.css" ?>" rel="stylesheet" />
        <!-- ace styles -->
        <link href="<?php echo Yii::app()->baseUrl."/assets/css/ace.min.css" ?>" rel="stylesheet" />
        <link href="<?php echo Yii::app()->baseUrl."/assets/css/ace-rtl.min.css" ?>" rel="stylesheet" />
        <link href="<?php echo Yii::app()->baseUrl."/assets/css/ace-skins.min.css" ?>" rel="stylesheet" />
        <!--[if lte IE 8]>
          <link href="<?php echo Yii::app()->baseUrl."/assets/css/ace-ie.min.css" ?>" rel="stylesheet" />
        <![endif]-->
        <!-- inline styles related to this page -->
        <!-- ace settings handler -->
        <script src="<?php echo Yii::app()->baseUrl."/assets/js/ace-extra.min.js" ?>"></script>
        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
        <script src="<?php echo Yii::app()->baseUrl."/assets/js/html5shiv.js" ?>" ></script>
        <script src="<?php echo Yii::app()->baseUrl."/assets/js/respond.min.js" ?>" ></script>
        <![endif]-->
    </head>
    <body class="login-layout">
        <div class="main-container">
            <div class="row">
                <div class="col-sm-10 col-sm-offset-1">
                    <div class="login-container">
                        <div class="center">
                            <h1>
                                <img src="<?php echo Yii::app()->request->baseUrl; ?>/assets/css/images/logo.png" height = "30" width = "30"></>
                                <span class="red">Order</span>
                                <span class="white">System</span>
                            </h1>
                            <h4 class="blue">&copy; THINK2DO</h4>
                        </div>
                        <div class="space-6"></div>
                        <div class="position-relative">                                                                                                                         
                            <div id="login-box" class="login-box visible widget-box no-border">
                                <div class="widget-body">
                                    <div class="widget-main">
                                        <h4 class="header blue lighter bigger" >
                                            <img src="<?php echo Yii::app()->request->baseUrl; ?>/assets/css/images/logo.png"></>
                                                <?php // echo "Register successful.";  ?>
                                            <strong>Đăng ký</strong>
                                        </h4>
                                        <div class="space-6"></div>
                                       <?php if ($_GET['key']) {
                                           echo "<h3>Kích hoạt tài khoản thành công.</h3>";                                         
                                           }
                                           else {
                                               echo "<h3>Đăng ký thành công.</h3>".
                                               "<h3>Vui lòng kích hoạt tài khoản trước khi đăng nhập.</h3>"
                                               ."<h4>Nếu không tìm thấy trong inbox, vui lòng kiểm tra hộp thư spam.</h4>";       
                                               }                                       
                                               ?>
                                        <h5 class="header blue lighter bigger" >
                                        <a href="../site/login">Back to Login Page</a></h5>
                                        <div class="space-6"></div>
                                    </div><!-- /widget-main -->	
                                </div><!-- /widget-body -->
                            </div><!-- /login-box -->
                        </div><!-- /position-relative -->
                    </div><!-- /.login-container -->
                </div><!-- /.col -->
            </div><!-- /.row -->
        </div><!-- /.main-container -->
    </body>
</html>